package com.ruoyi.project.module.userinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户表 userinfo
 * 
 * @author ruoyi
 * @date 2018-11-13
 */
public class Userinfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 用户ID */
	private Integer userId;
	/** 用户类型 */
	private Integer type;
	/** 用户名 */
	private String username;
	/** 用户密码 */
	private String password;
	/** 备注 */
	private String text;

	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setUsername(String username) 
	{
		this.username = username;
	}

	public String getUsername() 
	{
		return username;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}

	public String getPassword() 
	{
		return password;
	}
	public void setText(String text) 
	{
		this.text = text;
	}

	public String getText() 
	{
		return text;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("type", getType())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("text", getText())
            .toString();
    }
}
